home *** CD-ROM | disk | FTP | other *** search
/ SGI Varsity Update 1998 August / SGI Varsity Update 1998 August.iso / dist / dist6.3 / patchSG0002801.idb / var / sysgen / mtune / kernel.z / kernel
Text File  |  1998-07-29  |  23KB  |  620 lines

  1. **************************************************************************
  2. * Copyright 1990-1995, Silicon Graphics, Inc. 
  3. * All Rights Reserved.
  4. *
  5. * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6. * the contents of this file may not be disclosed to third parties, copied or 
  7. * duplicated in any form, in whole or in part, without the prior written 
  8. * permission of Silicon Graphics, Inc.
  9. *
  10. * RESTRICTED RIGHTS LEGEND:
  11. * Use, duplication or disclosure by the Government is subject to restrictions 
  12. * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13. * and Computer Software clause at DFARS 252.227-7013, and/or in similar or 
  14. * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished - 
  15. * rights reserved under the Copyright Laws of the United States.
  16. **************************************************************************
  17. *
  18. *#ident "$Revision: 1.100 $"
  19.  
  20. * This is a read-only file. User-specified tunables are stored
  21. * in var/sysgen/stune file.
  22. *
  23. * kernel
  24. *
  25.  
  26.  
  27.  
  28. * tunables that turn on/off features
  29. *
  30. * nosuidshells: to allow setuid shells set to 0
  31. * restricted_chown = 1   bsd style chown(2), only super-user can give away files
  32. * restricted_chown = 0 sysV style chown(2), non super-user can give away files
  33. * posix_tty_default = 0 ==> run our default line discipline and settings
  34. * posix_tty_default = 1 ==> match tty parameters/POSIX test assumptions
  35. * use_old_serialnum = 1 ==> Force the kernel to use the old method of
  36. *            calculating a 32-bit serial number for sysinfo -s.
  37. *            This variable only affects Onyx/Challenge L/XL systems.
  38. * reboot_on_panic = -1 ==> Use machine dependent reboot after panic semantics.
  39. * reboot_on_panic =  0 ==> Do not reboot the system after a panic (wait for
  40. *            user to hit the system reset button).
  41. * reboot_on_panic =  1 ==> Automatically reboot the system after a panic.
  42. * restrict_fastprof = 1 ==> Don't allow users to do fast (1ms) user level
  43. *            profiling.
  44. * restrict_fastprof = 0 ==> Allow users to do fast (1ms) user level profiling.
  45. * ip26_allow_ucmem = 0 ==> Accessing system memory uncached on Power Indigo2
  46. *            and Indigo2 10000 is illegal and will cause a
  47. *            system crash.
  48. * ip26_allow_ucmem = 1 ==> Accessing system memory on Power Indigo2 and
  49. *            Indigo2 10000 is always legal.  This comes at a
  50. *            large memory access performance hit.
  51. * reset_limits_on_exec = 1 ==> Reset rlimits on exec of processes that are
  52. *            setuid to root to prevent unprivileged processes from
  53. *            enforcing resource limitations on setuid/setgid procs.
  54. * reset_limits_on_exec = 0 ==> Don't reset limits on execs of setuid procs.
  55. *            Warning: Allowing non-root user to enforce
  56. *            resource limitations on setuid/setgid to root
  57. *            program can compromise system security. Do
  58. *            not set this option to zero unless you are
  59. *            sure all setuid/setgid to root programs on
  60. *            your system can recover from problem caused
  61. *            by resource limit.
  62. * tty_auto_strhold = 1 ==> automatically sets STRHOLD on ttys/ptys whenever
  63. *            the line discipline is in canonical & echo mode and
  64. *            automatically clears STRHOLD otherwise.
  65. * tty_auto_strhold = 0 ==> STRHOLD on ptys/ttys is entirely under user control.
  66. * run_kthread_daemons = 1 ==> Start vhand, shaked, and bdflush as kthreads
  67. * run_kthread_daemons = 0 ==> Start vhand, shaked, and bdflush as normal procs
  68. * add_kthread_stack = 0 ==> no additional kthread stack for kernel daemons
  69. * add_kthread_stack != 0 ==> add add_kthread_stack bytes to kernel daemon stack
  70. * xpg4_sticky_dir = 1 ==> write access to a file does not imply it is
  71. *              removable in a directory with the sticky bit set
  72. * xpg4_sticky_dir = 0 ==> write access to a file implies that it is
  73. *              removable in a directory  with the sticky bit set
  74. * mload_auto_rtsyms = 0 ==> Disable auto-loading of kernel's run-time symbol
  75. *                           table for dynamic driver/module loading.
  76. * disable_ip25_check = 1 ==> Disable boot time checking for valid (SUPPORTED)
  77. *            SCC/R10k configurations.
  78. * disable_r10k_log = 0 ==> Disable boot time logging of R10k config params.
  79. *            such as clk divisors etc.
  80. * enable_pci_BIST = 0 ==>  Causes the Built In Self Test on PCI boards to
  81. *            be run if the board supports it.  Default is not
  82. *            to run tests.
  83. * ip32_pci_enable_prefetch = 0 ==> Do not enable the PCI prefetch buffers
  84. *                                  in MACE.
  85. * ip32_pci_enable_prefetch = 1 ==> Enable the PCI prefetch buffers in MACE.
  86. * ip32_pci_flush_prefetch = 0 ==> If prefetch is disabled, then
  87. *                                 pciio_flush_buffers() is disabled.
  88. * ip32_pci_flush_prefetch = 1 ==> If prefetch is disabled,
  89. *                                 pciio_flush_buffers() will still flush the
  90. *                                 prefetch buffers.
  91. *            
  92.  
  93. switch:    static
  94.  
  95. * name            default          minimum        maximum
  96. nosuidshells         1
  97. restricted_chown     0
  98. posix_tty_default    0
  99. use_old_serialnum    0
  100. reboot_on_panic        -1
  101. restrict_fastprof    0
  102. reset_limits_on_exec    1
  103. ip26_allow_ucmem    0
  104. run_kthread_daemons    1
  105. add_kthread_stack    0
  106. xpg4_sticky_dir        1
  107. mload_auto_rtsyms    1
  108. disable_ip25_check    0
  109. disable_r10k_log    0
  110. enable_pci_BIST        0
  111. ip32_pci_enable_prefetch 0
  112. ip32_pci_flush_prefetch 1
  113.  
  114. switch: run
  115. * name            default          minimum        maximum
  116. tty_auto_strhold    0
  117.  
  118. * miscellaneous static tuneables
  119. *
  120. * io4ia_userdma_war    enable the error checking for concurrent user
  121. *            dma operations into the same physical memory
  122. *
  123. misc: static
  124.  
  125. * name            default        minimum        maximum
  126. io4ia_userdma_war    1
  127.  
  128. * io4ia_war_enable    Enable io4ia_war on all configurations (without
  129. *            checking if this configuration needs this).
  130. *            To be used ONLY for testing purposes. It should 
  131. *            be used only to enable io4ia_war on systems for
  132. *            testing. Useful only on Challenge/Onyx platforms.
  133. *
  134. * name                  default         minimum         maximum
  135. io4ia_war_enable    0
  136.  
  137. * miscellaneous dynamic tuneables 
  138. *
  139. * r4k_div_patch = 1    turn on exec patch code for binaries that have been
  140. *            processed with r4kpp for the divide in branch delay slot
  141. *            problem that occurs on R4000 SC rev 2.2 and 3.0 parts.
  142. * corepluspid = 1    name core file as "core.pid"
  143. * panic_on_sbe = 1    special factory debugging mode
  144. * sbe_log_errors = 1    log single bit errors to SYSLOG
  145. * sbe_mfr_override = 1     overrides default action of disabling sbe's 
  146. *            if rate of sbe's exceeds predetermined limit
  147. * sbe_report_cons = 1   report single bit errors to console also
  148. * ecc_recover_enable = 0  ==> don't attempt to recover from multibit errors
  149. *             > 0  ==> attempt to recover from some cases of multibit
  150. *                errors, but no more than 32 errors every
  151. *                "ecc_recover_enable" seconds (default 60 secs)
  152. * munlddelay = 5    timeout for auto-unload for loadable modules
  153. * dump_all_pages = 1    dump kernel and user and free pages during panic
  154. *              0    dump only kernel pages during panic
  155. * peer_peer_dma        This tunable SHOULDNOT BE TURNED ON unless the user
  156. *            has a pci card in the o2 pci slot from which a 
  157. *            dma is needed to another io device bypassing the
  158. *            host memory.
  159. * power_button_changed_to_crash_dump = 0 ==> change the power button to
  160. *                          take crash dump 
  161. * ip32_pio_predelay = 5        Delay in microseconds before pio read on IP32.
  162. * ip32_pio_postdelay = 5    Delay in microseconds after pio read on IP32.
  163. * crime_rev        This the value system sets based on crime rev
  164. *            the min/max are set to make this variable Readonly.
  165. *
  166. misc: run
  167.  
  168. * name            default        minimum        maximum
  169. r4k_div_patch        0
  170. corepluspid        0
  171. panic_on_sbe        0
  172. sbe_log_errors        0
  173. sbe_mfr_override    0
  174. sbe_report_cons        0
  175. ecc_recover_enable    60
  176. module_unld_delay    5        0
  177. dump_all_pages        1
  178. peer_peer_dma        0
  179. power_button_changed_to_crash_dump 0
  180. ip32_pio_predelay    5         0
  181. ip32_pio_postdelay    5        0
  182. crime_rev        0        0x100        0xff
  183.  
  184. *
  185. * tunables that set the limit
  186. *
  187. * ncargs is max # bytes of arguments passed during an exec(2)
  188. * shlbmax :  Maximum number of libraries that can be
  189. *            attached to a process at one time.
  190. * maxwatchpoints:  maximum watchpoints per process
  191. * nprofile: number of disjoint text spaces to be profiled 
  192. * maxsymlinks is the maximum number of symlinks expanded in an pathname.
  193. * reserve_ncallout: number of reserved callouts 
  194. * maxup: the maximum number of processes per user, should always smaller than
  195. *     nproc
  196. * vnode_free_ratio: proportion of free vnodes to vnodes in use.
  197. *
  198. * reserve_ncallout auto-config: max(5,numcpus)
  199. * maxup limit: nproc - 20
  200. * vnode_free_ratio auto-config: 2 (to one)
  201. * idbgmaxfuncs = 1200   maximum number of dynamically loaded idbg functions
  202.  
  203. limits:    run
  204.  
  205. * name            default          minimum        maximum
  206. ncargs             20480        5120        262144
  207. shlbmax         8        3        32
  208. maxwatchpoints         100        1        1000
  209. nprofile         100        100        200
  210. maxsymlinks         30        0        50
  211. reserve_ncallout     0        0        50     /* auto-config */
  212. maxup            0        15        10000
  213. vnode_free_ratio     2        1        100
  214. idbgmaxfuncs        1200
  215.  
  216. *
  217. * tunables for resource limit
  218. * 'cur' may be changed via any shell or setrlimit
  219. * Limits specified as 0x7fffffffffffffff implies no limit.
  220. *
  221. * Note: rlimit_nofile_max must not be set to an unreasonably large value
  222. * since many daemons/programs use rlimit_nofile_max as an indication
  223. * of how many file descriptors to close when they want to close them all.
  224. *
  225.  
  226. resource:    static
  227.  
  228. * name            default              minimum      maximum
  229. rlimit_cpu_cur       0x7fffffffffffffff     0    0x7fffffffffffffff ll
  230. rlimit_cpu_max          0x7fffffffffffffff     0    0x7fffffffffffffff ll
  231. rlimit_fsize_cur      0x7fffffffffffffff     0    0x7fffffffffffffff ll
  232. rlimit_fsize_max      0x7fffffffffffffff     0    0x7fffffffffffffff ll
  233. rlimit_data_cur      0            0    0x7fffffffffffffff ll
  234. rlimit_data_max      0            0    0x7fffffffffffffff ll
  235. rlimit_stack_cur      0x04000000        0    0x7fffffffffffffff ll
  236. rlimit_stack_max      0x20000000        0    0x7fffffffffffffff ll
  237. rlimit_core_cur      0x7fffffffffffffff     0    0x7fffffffffffffff ll
  238. rlimit_core_max      0x7fffffffffffffff     0    0x7fffffffffffffff ll
  239. rlimit_vmem_cur      0            0    0x7fffffffffffffff ll
  240. rlimit_vmem_max      0            0    0x7fffffffffffffff ll
  241. rlimit_rss_cur          0            0    0x7fffffffffffffff ll
  242. rlimit_rss_max          0x20000000        0    0x7fffffffffffffff ll
  243. rlimit_nofile_cur      200            40    0x7fffffffffffffff ll
  244. rlimit_nofile_max      2500            0    0x7fffffffffffffff ll
  245.  
  246. *
  247. * tunables that depend on nproc
  248. *
  249. * nproc: maximum number of processes
  250. * ndquot: maximum number of file system quota structures
  251. * ncallout: initial # of callouts -- used to implement timeout calls
  252. * callout_himark:  high water mark of callouts
  253. * ncsize: directory-name lookup cache size
  254. * ngroups_max: maximum number of groups to which user can belong
  255. *
  256. * nproc auto-config: 30 + KB(mem)/240
  257. * ndquot auto-config: 200 + 2*nproc
  258. * ncsize auto-config: 200 + 2*nproc
  259. * ncallout auto-config: nproc/2
  260. *
  261. numproc:    static
  262.  
  263. * name            default          minimum      maximum
  264. nproc            0        30    10000    /* auto-config */
  265. ndquot            0        268    6200    /* auto-config */
  266. callout_himark         0        42    10000    /* auto-config */
  267. ncallout         0        20    5000    /* auto-config */
  268. ncsize             0               268     100000  /* auto-config */
  269. ngroups_max         16        0    32
  270.  
  271. *
  272. * The following is for STREAMS.
  273. *
  274. streams:    static
  275.  
  276. * name            default          minimum      maximum
  277. nstrpush          9        9       10
  278. nstrintr         1024        32       4096
  279. strmsgsz          0x8000
  280. strctlsz          1024
  281. strpmonmax         4        0       1024
  282.  
  283. streams:    run
  284.  
  285. * name            default          minimum      maximum
  286. strholdtime        50        0      1000
  287.  
  288. *
  289. * cpu actions -- interprocessor communication blocks
  290. * nactions: number of action block, autoconfigure if 0
  291. *
  292. * nactions auto-config: max((maxcpus+60), (maxcpus*(maxcpus/2)))
  293. *
  294.  
  295. actions:    static
  296.  
  297. * name            default          minimum      maximum
  298. nactions         0        60       200    /* auto-config */
  299.  
  300. *
  301. * tunables for queued signals
  302. *
  303. * maxsigq: used by sigqsetup()  - Posix.4 required at least 32
  304. * since svr4 SA_SIGINFO signals also share this, make maxsigq >= NSIG+32
  305. * results in
  306. * sysconf(SIGQUEUE_MAX) = maxsigq - NSIG
  307. *
  308. signals:    run
  309.  
  310. * name            default          minimum      maximum
  311. maxsigq         96        96    
  312.  
  313. *
  314. * tunables for timer
  315. *
  316. * fasthz: profiling/fast itimer clock speed. 
  317. *
  318. * itimer_on_clkcpu = 1 10 ms itimer request is queued on the clock processoro
  319. * itimer_on_clkcpu = 0 0 ms itimer request is queued on the runing processor
  320. * If a process does a setitimer then uses gettimeofday() to compare the
  321. * accuracy of the itimer delivery then itimer_on_clkcpu should be set.
  322. * If on the otherhand, itimer request is used to implement a user frequency
  323. * based scheduler then itimer_on_clkcpu should be 0.
  324. *
  325. * timetrim: The clock is adjusted by this signed number of nanoseconds 
  326. *        every second. It is limited to 3 milliseconds or 0.3% in clock.c.
  327. *    Timed(1M) and timeslave(1M) put suggested values in /usr/adm/SYSLOG.
  328. *
  329. timer:    static
  330.  
  331. * name            default          minimum      maximum
  332. fasthz             1000        500       2500    
  333. itimer_on_clkcpu     0
  334. timetrim         0
  335.  
  336. *
  337. * tunables for memory size
  338. *
  339. * maxpmem: the maximum physical memory to use, if maxpmem = 0,
  340. *       then use all available physical memory.
  341. * syssegsz: max pages of dynamic system memory,
  342. * maxdmasz: max dma transfer (in pages), must be no more than syssegsz / 2
  343. *         and less than maxpmem  It is set to what it would be plus 1
  344. *        so that file system direct I/O can report a reasonably aligned
  345. *        maximum I/O size (maxdmasz - 1).
  346. * maxpglst: maximum number of pages that can be held in each
  347. *        of the pager's pageout queues
  348. *
  349. * syssegsz auto-config: min(max(KB(mem)/2,0x2000),KSEGSIZE)
  350. *
  351. * Note: KSEGSIZE is system-specific, and defined (in bytes) in
  352. *    <sys/mips_addrs.h>.  Thus, the maximum value given here
  353. *    is just a WAG.
  354. *
  355. * maxdmasz auto-config: syssegsz/2
  356. * maxpglst auto-config: min(max(KB(mem)/2048,100)+(numcpus-1)*16,1000)
  357. *
  358. memsize:    static
  359.  
  360. * name            default          minimum      maximum
  361. maxpmem            0        1024
  362. syssegsz,32        0        0x2000      0x20000   /* auto-config */
  363. syssegsz,64        0        0x2000      0x10000000 /* auto-config */
  364. maxdmasz,32        1025        1024      syssegsz  /* auto-config */
  365. maxdmasz,64        257        256      syssegsz  /* auto-config */
  366. maxpglst        0        50      1000        /* auto-config */
  367.  
  368. *
  369. * Tuneable Paging parameters    
  370. *
  371. * gpgslo: If freemem < gpgslo, then start to steal pages from processes.
  372. * gpgshi: Once we start to steal pages, don't  stop until freemem > gtpgshi.    
  373. * gpgsmsk: Mask used by getpages to determine whether a page is stealable.
  374. * maxsc: The maximum number of pages which will be swapped out in a single
  375. *        operation.
  376. * maxfc: The maximum number of pages which will be saved up and freed at once.
  377. * maxdc: The maximum number of pages which will be saved up and written to
  378. *     disk (mappd files) at once.
  379. * maxumem: Obsolete - see RLIMIT_VMEM
  380. * minarmem: The minimum available resident (not swapable) memory to maintain in
  381. *        order to avoid deadlock.
  382. * minasmem: The minimum available swapable memory to maintain in order to avoid
  383. *        deadlock.
  384. * maxlkmem: The maximum amount of lockable pages per process
  385. * tlbdrop: Number of ticks before a procs wired entries are flushed
  386. * rsshogfrac: Fraction of memory RSS hogs can use
  387. * rsshogslop: # pages excess of RSS before slow down process
  388. * dwcluster: Maximum number of delayed write pages to cluster in each push.
  389. * bdflushr: The rate at which bdflush is run, in seconds.
  390. * autoup: The age a delayed-write buffer must be, in seconds,
  391. *      before bdflush will write it out.
  392. * vfs_syncr: The rate at which vfs_syncr is run, in seconds.
  393. * min_file_pages: The minimum number of file pages to keep in the cache
  394. *                 when memory gets low.  It is autoconfigured to
  395. *                 3% of the system's memory if it is 0.  When setting,
  396. *          remember that the page size is 4k in 32 bit kernels
  397. *                 and 16k in 64 bit kernels.
  398. * shaked_interval: The number of seconds between runs of the shaked
  399. *                  daemon when memory is low.
  400.  
  401. *
  402.  
  403. paging:        run
  404.  
  405. * name            default          minimum      maximum
  406. gpgslo            0
  407. gpgshi            0        30
  408. gpgsmsk            2        0       7
  409. maxsc            0        8      maxpglst
  410. maxfc            0        50      maxpglst
  411. maxdc            0        1      maxpglst
  412. bdflushr        5        1      31536000
  413. vfs_syncr        30        1      31536000
  414. minarmem        0
  415. minasmem        0
  416. maxlkmem        2000
  417. tlbdrop            100
  418. rsshogfrac        75        0      100
  419. rsshogslop        20
  420. dwcluster        64
  421. autoup            10        1         30
  422. min_file_pages,32    0        0       500000
  423. min_file_pages,64    0        0       1000000
  424. shaked_interval        1        1       3600
  425.  
  426.  
  427.  
  428. *
  429. * tunables for buffer cache
  430. *
  431. * nbuf: number of  buffers in disk buffer cache. autoconfigure if 0
  432. *
  433. * nbuf auto-config: max(100+KB(mem)/160,6000)
  434.  
  435. bufcache:    static
  436.  
  437. * name            default          minimum      maximum
  438. nbuf,32            0          75       6000
  439. nbuf,64            0          75       250000
  440.  
  441. *
  442. * tunables for module loader
  443. *
  444. * bdevsw_extra: number of extra entries for bdevsw
  445. * cdevsw_extra: number of extra entries for cdevsw
  446. * fmodsw_extra: number of extra entries for fmodsw
  447. * vfssw_extra: number of extra entries for vfssw
  448. *
  449. mload:        static
  450.  
  451. * name            default          minimum      maximum
  452. bdevsw_extra        21        1      254
  453. cdevsw_extra        23        3      254
  454. fmodsw_extra        20        0
  455. vfssw_extra        5        0
  456.  
  457. *
  458. * tunables for extended accounting features
  459. *
  460. * accounting controls
  461. *   do_procacct      = 1   perform BSD process accounting
  462. *          = 0    do not perform BSD process accounting (this overrides
  463. *            the acct(2) call)
  464. *   do_extpacct   = 1   perform extended process accounting
  465. *          = 0    do not perform extended process accounting
  466. *   do_sessacct   = 1   perform array session accounting on process exit
  467. *          = 0   do not perform array session accounting
  468. *
  469. * session table controls
  470. *   use_astbl     = 1    allocate array sessions in a single preallocated table
  471. *              = 0    array sessions are allocated dynamically
  472. *   narsess:        number of entries in array session table.
  473. *            If 0 is specified, value will be auto-configured
  474. *            to nproc/10.
  475. *
  476. * array session handle settings
  477. *   dfltash:  the default array session handle for special system sessions and
  478. *          other sessions that bypass ordinary session handle assignment
  479. *   minash:   the first array session handle that can be assigned by the kernel
  480. *   maxash:   the largest array session handle that can be assigned by the
  481. *          kernel before wrapping back to minash
  482. *   asmachid: machine ID for generating global ASHs. No other machine in
  483. *          an array should have the same machine ID. If 0 is specified,
  484. *          the kernel will only generate local ASHs.
  485. *
  486. * project ID settings
  487. *   dfltprid: the default project ID for special system sessions and other
  488. *          sessions that bypass ordinary project ID assignment.
  489. *
  490. extacct: static
  491.  
  492. * name            default        minimum        maximum
  493. do_procacct        1
  494. do_extpacct        0
  495. do_sessacct        0
  496. use_astbl,32        0
  497. use_astbl,64        1
  498.  
  499. narsess            0        10        10000   /* auto-cfg */
  500. dfltash            0        0        0x7fffffffffffffff ll
  501. minash            1        1        0xffffff00         ll
  502. maxash            65535        255        0xffffffff         ll
  503. asmachid        0        0        0x7fff
  504. dfltprid        0        0        0x7fffffffffffffff ll
  505.  
  506. *
  507. * SGI internal use
  508. *
  509. * histmax: semaphore history
  510. * conbufsz: console buffer sizes 
  511. * putbufsz: put buffer sizes 
  512. * dumplo: starting default offset in dumpdev to dump kernel when it crashes 
  513. *
  514. internal:    static
  515.  
  516. * name            default          minimum      maximum
  517. histmax         0
  518. conbufsz         1024
  519. putbufsz         1024
  520. dumplo             0
  521.  
  522. * tuneables for using very large pages
  523. *
  524. * Large pages must be allocated early on and reserved if they
  525. * are to be used. nlpages_X refer to the number of large
  526. * pages of size X. When these are set the kernel will attempt
  527. * to allocate these counts of pages of the appropriate size.
  528. *
  529. * Applications which use large pages have the choice of wiring
  530. * the translations for the pages into the usually random slots
  531. * of the tlb when the application runs. The maximum number of
  532. * tlb slots to devote to this is reflected in max_lpg_tlbslots.
  533. *
  534. large_pages:            static
  535.  
  536. * name                  default         minimum   maximum
  537. nlpages_256k            0                 0          64
  538. nlpages_1m              0                 0          64
  539. nlpages_4m              0                 0          64
  540. nlpages_16m             0                 0          64
  541. max_lpg_tlbslots        8                 8          16
  542.  
  543. * Tuneables for Maximum simultaneous VME DMA transfer size on Challenge.
  544. * Defines the size in Megabytes, of DMA transfer that can be active 
  545. * for each VME bus in the system. E.g. a value of 64 implies, system
  546. * will allocate sufficient resources to have upto 64 Mbytes of DMA
  547. * active on each VME bus in the system. System needs to allocate 
  548. * sufficient number of mapping table entries to support the required 
  549. * transfer size. Each entry in memory is 4 bytes wide, and maps 
  550. * a 4k bytes of contiguous data. With a page size of 16k, one (16k) 
  551. * page is needed for 16M of simultaneous active DMA transfers. 
  552. *
  553. * Value for nvme32_dma should be a proper power of 2. If not, it will be 
  554. * be bumped to next power of 2 before using. It must not exceed 512 or
  555. * else it will be forced to 512. Notice that values larger than 64 may
  556. * impact VME throughput on some systems.
  557. *
  558. vme_dma:        static
  559. * name                  default         minimum   maximum
  560. nvme32_dma        64        32       512
  561.  
  562. *
  563. * tunables for tcp/udp hash tables
  564. *
  565. * Hash tables are used to keep references to TCP and UDP socket addresses.
  566. * Default sizing is based on the amount of physical memory in the system.
  567. *
  568. * The default is four hash buckets per megabyte for UDP and eight for TCP.
  569. * TCP uses twice as many buckets as configured because a separate table is
  570. * used for connections in TIME-WAIT.
  571.  
  572. inpcb:    static
  573.  
  574. * name            default          minimum      maximum
  575. tcp_hashtablesz        0        0      8192
  576. udp_hashtablesz        0        0      2048
  577.  
  578. *
  579. * tuneables for IP networking code
  580. *
  581. * icmp_dropredirects == 1: kernel does not honor ICMP_REDIRECT messages.
  582. * icmp_dropredirects == 0: kernel honors ICMP_REDIRECT messages.
  583. *
  584. * ipfilterd_inactive_behavior == 1: reject all packets when filtering
  585. *    turned off. This has the effect of preventing any routing when
  586. *    the daemon has been active, but has died.  This is the
  587. *    preferred behavior for a firewall-type gateway. Note: even
  588. *    when the value is 1, all IP packets destined for and sent from
  589. *    the local host will still be accepted.  It's only
  590. *    foreign-source packets that get clobbered.
  591. * ipfilterd_inactive_behavior == 0: accept all packets when filtering
  592. *    turned off. Acts as though filtering is not configured;
  593. *    routing and other IP traffic unaffected.
  594. *
  595. * ipforwarding == 1: Forward IP packets received that should be resent
  596. *    to another host.
  597. * ipforwarding == 0: Don't forward packets.
  598. * Note: This parameter only affects hosts with more than 1 hardware
  599. *    network interface.  Hosts that have only a single interface
  600. *    will not forward IP packets.
  601. * Note: IP multicast packets can be forwarded if the boot/ip_mroute.o
  602. *    file exists when the kernel is configured and the mrouted(1M)
  603. *    daemon is used.
  604. * Note: "MINIROOT" and "NOT_MINIROOT" are lboot tags; see lboot(1M)
  605. *    for details.  The effect is that the default for miniroot
  606. *    (i.e., special installation-time) kernels for ipforwarding is off,
  607. *    while the default for non-miniroot (i.e., normal) kernels is on.
  608. *
  609.  
  610. net_ip:    run
  611.  
  612. * name                default    minimum    maximum
  613. icmp_dropredirects        0    0    1
  614. ipfilterd_inactive_behavior    1    0    1
  615.  
  616. ipforwarding,MINIROOT        0    0    1
  617. ipforwarding,NOT_MINIROOT    1    0    1
  618.  
  619.